package com.xzz.mybatis.generator;

import com.xzz.mybatis.generator.dcevm.MyDynamicCodeAgent;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author: hhz
 * @createDate: 2021-3-10
 */
@SpringBootApplication
@MapperScan("com.xzz.mybatis.generator.*.mapper")
public class XzzMybatisPlusGeneratorApplication {
    public static void main(String[] args) {
        SpringApplication.run(XzzMybatisPlusGeneratorApplication.class, args);

        //尝试载入动态代码agent
        MyDynamicCodeAgent.initBeanMethod();
    }
}
